﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using SignalRSample.Models;

namespace SignalRSample.Controllers
{
    public class ValuesController : Controller
    {
        [HttpGet]
        public IActionResult GetAllUsers()
        {
            var list = new List<UserVm>();
            for (int i = 0; i < 100; i++)
            {
                list.Add(new UserVm($"gainorloss{i}"));
            }
            return Json(list);
        }
    }
}